<?
session_start();
if (!isset($_SESSION['loggedinuser'])) {
    header("Location: login");
    echo $_SESSION['loggedinuser'];
    error_log($_SESSION['loggedinuser'] . " in index");
//die();
}
?>
<? include("/includes/header.php"); ?>
<title>TMS - Home</title>
</head>
<body>
    <? include ("/includes/navbar.php"); ?>
    <? include("/includes/footer.php"); ?>